package com.store.app.bean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2016/12/6.
 */
public class WypGoodsBean implements Serializable {

    /**
     * agent : 福田区分公司
     * area_id : 440000
     * category : 批发
     * contact_person : 若梅4
     * contact_tel : 18718688434
     * cost_price : 0.00
     * data_source :
     * delivery : 158d85a63cec471bbbc9389ad31dd974
     * delivery_area : 440000
     * delivery_desc : 中国,广东省
     * desc1 : 我要批@%￥商品含特殊字符--test
     * discount_price : 0.01
     * display_area : 日用,服饰,瓶装水
     * goods_code : WYP201610191723
     * goods_id : 6956cf3711904283a53b5ba4e83a4162
     * goods_unit :
     * label :
     * label_promotion :
     * ladder_price : {}
     * manufacturer :
     * market_price : 1.00
     * max_buy_qty : 8
     * min_buy_qty : 1
     * online_date : 2016-11-21 17:28:37
     * pack :
     * payment_way : online
     * pic_detail_info : []
     * pic_info : [{"path_id":"a080af7004cb4b8ea65fab438a735305","title":""},{"path_id":"5a0f703f343748d4903c5c00fcfd2c21","title":""}]
     * producer :
     * product_source :
     * remark :
     * sale_qty : 371
     * service_fee : 3.00
     * settled_price : 2.00
     * shipping_fee : 0.00
     * specification : 件
     * status : on_shelf
     * stock_qty : 666
     * supplier : 摩乐测试0813
     * supplier_id : 46f05f73d4e644d6bfed4add0c013636
     * title : 我要批@%￥商品含特殊字符--test
     * valid_thru : 2016-10-31
     * warehouse :
     */

    private String agent;
    private String area_id;
    private String category;
    private String contact_person;
    private String contact_tel;
    private String cost_price;
    private String data_source;
    private String delivery;
    private String delivery_area;
    private String delivery_desc;
    private String desc1;
    private String discount_price;
    private String display_area;
    private String goods_code;
    private String goods_id;
    private String goods_unit;
    private String label;
    private String label_promotion;
    private String ladder_price;
    private String manufacturer;
    private String market_price;

    private String online_date;
    private String pack;
    private String payment_way;
    private String pic_detail_info;
    private String pic_info;
    private String producer;
    private String product_source;
    private String remark;
    private String sale_qty;
    private String service_fee;
    private String settled_price;
    private String shipping_fee;
    private String specification;
    private String status;
    private String stock_qty;
    private String supplier;
    private String supplier_id;
    private String title;
    private String valid_thru;

    private String max_buy_qty;                 //限购
    private String min_buy_qty;                 //起订量
    private List<SpecificationsBean> specificationsBeanList;//规格列表
    private String pic_show_url;//展示的图片url,其实是取图片的第一张显示
    private String lastMoney;//商品的价格，其实是选中哪件规格取哪个价格。默认先显示第一个
    private String real_qty;//库存，不同规格对应不同库存
    private int buyCount;//购买数量
    private int chooseIndexSpeci = 0;//去除商品所属规格的下标
    private String supidAndwarehouse;//供应商加仓位
    private String goodsidAndstockId;//商品id 跟规格，用来作为商品唯一标示
    private boolean ischecek = true;//是否选中

    private String warehouse_id;//仓位id
    private String warehouse;//供应商名称

    public String getWarehouse() {
        return warehouse;
    }

    public void setWarehouse(String warehouse) {
        this.warehouse = warehouse;
    }

    public String getWarehouse_id() {
        return warehouse_id;
    }

    public void setWarehouse_id(String warehouse_id) {
        this.warehouse_id = warehouse_id;
    }


    public void setIschecek(boolean ischecek) {
        this.ischecek = ischecek;
    }

    public boolean ischecek() {
        return ischecek;
    }

    public String getSupidAndwarehouse() {
        return supidAndwarehouse;
    }

    public String getGoodsidAndstockId() {
        return goodsidAndstockId;
    }

    public void setGoodsidAndstockId(String goodsidAndstockId) {
        this.goodsidAndstockId = goodsidAndstockId;
    }

    public void setSupidAndwarehouse(String supidAndwarehouse) {
        this.supidAndwarehouse = supidAndwarehouse;
    }

    public int getChooseIndexSpeci() {
        return chooseIndexSpeci;
    }

    public void setChooseIndexSpeci(int chooseIndexSpeci) {
        this.chooseIndexSpeci = chooseIndexSpeci;
    }

    public int getBuyCount() {
        return buyCount;
    }

    public void setBuyCount(int buyCount) {
        this.buyCount = buyCount;
    }

    public String getReal_qty() {
        return real_qty;
    }

    public void setReal_qty(String real_qty) {
        this.real_qty = real_qty;
    }

    public String getLastMoney() {
        return lastMoney;
    }

    public void setLastMoney(String lastMoney) {
        this.lastMoney = lastMoney;
    }

    public List<SpecificationsBean> getSpecificationsBeanList() {
        return specificationsBeanList;
    }

    public void setSpecificationsBeanList(List<SpecificationsBean> specificationsBeanList) {
        this.specificationsBeanList = specificationsBeanList;
    }

    public String getPic_show_url() {
        return pic_show_url;
    }

    public void setPic_show_url(String pic_show_url) {
        this.pic_show_url = pic_show_url;
    }

    public String getAgent() {
        return agent;
    }

    public void setAgent(String agent) {
        this.agent = agent;
    }

    public String getArea_id() {
        return area_id;
    }

    public void setArea_id(String area_id) {
        this.area_id = area_id;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getContact_person() {
        return contact_person;
    }

    public void setContact_person(String contact_person) {
        this.contact_person = contact_person;
    }

    public String getContact_tel() {
        return contact_tel;
    }

    public void setContact_tel(String contact_tel) {
        this.contact_tel = contact_tel;
    }

    public String getCost_price() {
        return cost_price;
    }

    public void setCost_price(String cost_price) {
        this.cost_price = cost_price;
    }

    public String getData_source() {
        return data_source;
    }

    public void setData_source(String data_source) {
        this.data_source = data_source;
    }

    public String getDelivery() {
        return delivery;
    }

    public void setDelivery(String delivery) {
        this.delivery = delivery;
    }

    public String getDelivery_area() {
        return delivery_area;
    }

    public void setDelivery_area(String delivery_area) {
        this.delivery_area = delivery_area;
    }

    public String getDelivery_desc() {
        return delivery_desc;
    }

    public void setDelivery_desc(String delivery_desc) {
        this.delivery_desc = delivery_desc;
    }

    public String getDesc1() {
        return desc1;
    }

    public void setDesc1(String desc1) {
        this.desc1 = desc1;
    }

    public String getDiscount_price() {
        return discount_price;
    }

    public void setDiscount_price(String discount_price) {
        this.discount_price = discount_price;
    }

    public String getDisplay_area() {
        return display_area;
    }

    public void setDisplay_area(String display_area) {
        this.display_area = display_area;
    }

    public String getGoods_code() {
        return goods_code;
    }

    public void setGoods_code(String goods_code) {
        this.goods_code = goods_code;
    }

    public String getGoods_id() {
        return goods_id;
    }

    public void setGoods_id(String goods_id) {
        this.goods_id = goods_id;
    }

    public String getGoods_unit() {
        return goods_unit;
    }

    public void setGoods_unit(String goods_unit) {
        this.goods_unit = goods_unit;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getLabel_promotion() {
        return label_promotion;
    }

    public void setLabel_promotion(String label_promotion) {
        this.label_promotion = label_promotion;
    }

    public String getLadder_price() {
        return ladder_price;
    }

    public void setLadder_price(String ladder_price) {
        this.ladder_price = ladder_price;
    }

    public String getManufacturer() {
        return manufacturer;
    }

    public void setManufacturer(String manufacturer) {
        this.manufacturer = manufacturer;
    }

    public String getMarket_price() {
        return market_price;
    }

    public void setMarket_price(String market_price) {
        this.market_price = market_price;
    }

    public String getMax_buy_qty() {
        return max_buy_qty;
    }

    public void setMax_buy_qty(String max_buy_qty) {
        this.max_buy_qty = max_buy_qty;
    }

    public String getMin_buy_qty() {
        return min_buy_qty;
    }

    public void setMin_buy_qty(String min_buy_qty) {
        this.min_buy_qty = min_buy_qty;
    }

    public String getOnline_date() {
        return online_date;
    }

    public void setOnline_date(String online_date) {
        this.online_date = online_date;
    }

    public String getPack() {
        return pack;
    }

    public void setPack(String pack) {
        this.pack = pack;
    }

    public String getPayment_way() {
        return payment_way;
    }

    public void setPayment_way(String payment_way) {
        this.payment_way = payment_way;
    }

    public String getPic_detail_info() {
        return pic_detail_info;
    }

    public void setPic_detail_info(String pic_detail_info) {
        this.pic_detail_info = pic_detail_info;
    }

    public String getPic_info() {
        return pic_info;
    }

    public void setPic_info(String pic_info) {
        this.pic_info = pic_info;
    }

    public String getProducer() {
        return producer;
    }

    public void setProducer(String producer) {
        this.producer = producer;
    }

    public String getProduct_source() {
        return product_source;
    }

    public void setProduct_source(String product_source) {
        this.product_source = product_source;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getSale_qty() {
        return sale_qty;
    }

    public void setSale_qty(String sale_qty) {
        this.sale_qty = sale_qty;
    }

    public String getService_fee() {
        return service_fee;
    }

    public void setService_fee(String service_fee) {
        this.service_fee = service_fee;
    }

    public String getSettled_price() {
        return settled_price;
    }

    public void setSettled_price(String settled_price) {
        this.settled_price = settled_price;
    }

    public String getShipping_fee() {
        return shipping_fee;
    }

    public void setShipping_fee(String shipping_fee) {
        this.shipping_fee = shipping_fee;
    }

    public String getSpecification() {
        return specification;
    }

    public void setSpecification(String specification) {
        this.specification = specification;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStock_qty() {
        return stock_qty;
    }

    public void setStock_qty(String stock_qty) {
        this.stock_qty = stock_qty;
    }

    public String getSupplier() {
        return supplier;
    }

    public void setSupplier(String supplier) {
        this.supplier = supplier;
    }

    public String getSupplier_id() {
        return supplier_id;
    }

    public void setSupplier_id(String supplier_id) {
        this.supplier_id = supplier_id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getValid_thru() {
        return valid_thru;
    }

    public void setValid_thru(String valid_thru) {
        this.valid_thru = valid_thru;
    }


    @Override
    public String toString() {
        return "WypGoodsBean{" +
                "agent='" + agent + '\'' +
                ", area_id='" + area_id + '\'' +
                ", category='" + category + '\'' +
                ", contact_person='" + contact_person + '\'' +
                ", contact_tel='" + contact_tel + '\'' +
                ", cost_price='" + cost_price + '\'' +
                ", data_source='" + data_source + '\'' +
                ", delivery='" + delivery + '\'' +
                ", delivery_area='" + delivery_area + '\'' +
                ", delivery_desc='" + delivery_desc + '\'' +
                ", desc1='" + desc1 + '\'' +
                ", discount_price='" + discount_price + '\'' +
                ", display_area='" + display_area + '\'' +
                ", goods_code='" + goods_code + '\'' +
                ", goods_id='" + goods_id + '\'' +
                ", goods_unit='" + goods_unit + '\'' +
                ", label='" + label + '\'' +
                ", label_promotion='" + label_promotion + '\'' +
                ", ladder_price='" + ladder_price + '\'' +
                ", manufacturer='" + manufacturer + '\'' +
                ", market_price='" + market_price + '\'' +
                ", max_buy_qty='" + max_buy_qty + '\'' +
                ", min_buy_qty='" + min_buy_qty + '\'' +
                ", online_date='" + online_date + '\'' +
                ", pack='" + pack + '\'' +
                ", payment_way='" + payment_way + '\'' +
                ", pic_detail_info='" + pic_detail_info + '\'' +
                ", pic_info='" + pic_info + '\'' +
                ", producer='" + producer + '\'' +
                ", product_source='" + product_source + '\'' +
                ", remark='" + remark + '\'' +
                ", sale_qty='" + sale_qty + '\'' +
                ", service_fee='" + service_fee + '\'' +
                ", settled_price='" + settled_price + '\'' +
                ", shipping_fee='" + shipping_fee + '\'' +
                ", specification='" + specification + '\'' +
                ", status='" + status + '\'' +
                ", stock_qty='" + stock_qty + '\'' +
                ", supplier='" + supplier + '\'' +
                ", supplier_id='" + supplier_id + '\'' +
                ", title='" + title + '\'' +
                ", valid_thru='" + valid_thru + '\'' +
                ", specificationsBeanList=" + specificationsBeanList +
                ", pic_show_url='" + pic_show_url + '\'' +
                '}';
    }
}
